class {
    onCreate() {
        this.state = {
            count: 0,
            renderHello: true
        };
    }
}

<div.root>
    [ROOT]
    <span>
        <if(state.renderHello)>
            <hello key="hello" count=state.count/>
        </if>
    </span>
</div>